package com.alks.entity.data.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PS_SCHEDULE_HEAD")
@ApiModel(value="PsScheduleHead对象", description="")
public class PsScheduleHead implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "安排日期")
    private String scheduleNo;

    @ApiModelProperty(value = "生产线")
    private String line;

    @ApiModelProperty(value = "序号")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "安排数量")
    private BigDecimal scheduleQty;

    @ApiModelProperty(value = "IE日产能")
    private BigDecimal stdQty;

    @ApiModelProperty(value = "生产天数")
    private BigDecimal prodDays;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "开始日期")
    private LocalDateTime beginDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "结束日期")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "新增类型（新/旧）")
    private String addType;

    private BigDecimal lastUnin;

    private BigDecimal stitchUnin;

    private BigDecimal soleUnin;

    private BigDecimal stitchStock;

    private BigDecimal soleStock;

    private BigDecimal matchStock;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "客人交期")
    private LocalDateTime deliveryDate;

    private String brand;

    private String stdChgFlag;

    @ApiModelProperty(value = "订单数量")
    private BigDecimal orderQty;

    private BigDecimal lsNo;

    @ApiModelProperty(value = "已生产数量")
    private BigDecimal produceQty;

    @ApiModelProperty(value = "有生产的线别信息")
    private String lineMes;


}
